<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title></title>
<link href="css/_default.css" rel="stylesheet" type="text/css" />
<script language="javascript" type="text/javascript">
	window.onload = function() {
		document.getElementById("focus").focus();
	}
</script>
<s:head theme="ajax"/>
</head>
<body>
<div class="mainpage">
<s:form  method="post" enctype="multipart/form-data">
<s:hidden name="talent_id" value="%{talent_id}" />
<s:hidden name="filePath" value="%{filePath}" />
<s:hidden name="vgaFileFileName" value="%{vgaFileFileName}" />
<s:hidden name="qvgaFileFileName" value="%{qvgaFileFileName}" />
	<span class="title">タレント管理　＞　タレント情報修正</span>
	<center>
	<p />
	<table class="maincontent">
		<tr><td class="talentleft">名前(Kana)</td>
			<td class="talentright"><s:textfield id="focus" name="talent_kana" maxlength="50" cssClass="txtInput"/><!--<s:checkbox name="groupFlg" />Group
				--><div class="error"><s:fielderror><s:param>talent_kana</s:param></s:fielderror></div></td></tr>
		<tr><td class="talentleft">生年月日</td>
			<!--<td class="talentright"><s:datetimepicker name="tanjoubi_date" displayFormat="yyyy-MM-dd" /></td>-->
			<td class="talentright"><s:textfield name="tanjoubi_date" maxlength="10" cssClass="txtInput" /><font color="red">例：YYYY-MM-DD<s:fielderror><s:param>tanjoubi_date</s:param></s:fielderror></font></td></tr>
		<tr><td class="talentleft">分野</td>
			<td class="talentright"><s:select name="bunya_id" list="bunyaBean" listKey="bunya_id" listValue="bunya_name"></s:select></td></tr>
		<tr><td class="talentleft">デビュー</td>
			<!--<td><s:datetimepicker name="debyuhi_date" displayFormat="yyyy-MM-dd" /></td>-->
			<td class="talentright"><s:textfield name="debyuhi_date" maxlength="4" cssClass="txtInput" /><font color="red">例：YYYY</font></td></tr>
		<tr><td class="talentleft">身長</td>
			<td class="talentright"><s:textfield name="sinchou" maxlength="3" cssClass="txtInput" /></td></tr>
		<tr><td class="talentleft">PICKUPイメージ</td>
			<td class="talentright">
				<span style="width: 40px;">VGA</span><s:file name="vgaFile" cssStyle="width: 80%" cssClass="txtInput" /><br />
				<span style="width: 40px;">QVGA</span><s:file name="qvgaFile"  cssStyle="width: 80%" cssClass="txtInput" /></td></tr>
		<tr><td class="talentleft">コメント</td>
			<td class="talentright"><s:textfield name="comment" cssStyle="width: 100%" cssClass="txtInput"></s:textfield></td></tr>
		<s:if test="groupFlg">
		<tr><td class="talentleft">メンバーリスト</td>
			<td class="talentright">
				<s:iterator value="listTalentGroup">
					<div>&nbsp;<s:property value="kana" /></div>
				</s:iterator></td></tr>
		</s:if>						
	</table>
	<p />
	</center>
	<s:if test="groupFlg">
		<div class="talentinfomenu">メンバーリスト変更<span style="color: red;">&nbsp;「選択した場合、変更されます」</span></div>
		<s:select name="memberList" list="listTalent" listKey="id" listValue="kana" size="10" multiple="true"></s:select>
	</s:if>
	<p />
	<div class="maincontent">
		<div class="talentinfomenu">主な活動内容</div>
		<s:textarea name="katudou_naiyou" rows="6" cssStyle="width:100%" />
		<p />
		<div class="talentinfomenu">受賞内容</div>
		<s:textarea name="jyushou_naiyou" rows="6" cssStyle="width:100%" />
		<p />
		<div class="talentinfomenu">紹介内容</div>
		<s:textarea name="shoukai_naiyou" rows="6" cssStyle="width:100%" />
	</div>
	<center>
	<p>
		<s:submit action="talentList" value="リスト" cssClass="btnDefault"></s:submit>
		<s:if test="modifyFlg">
			<s:submit action="talentInsert" value="登録" cssClass="btnDefault"></s:submit>
		</s:if><s:else>
			<s:submit action="talentModify" value="修正" cssClass="btnDefault"></s:submit>
		</s:else>
	</p>
	</center>
</s:form>
</div>
</body>
</html>